import request from '@/router/axios'
//查询当前企业所有成员
export function queryAllEmployees (query) {
    return request({
        url: '/cp/inheritemployee/page',
        method: 'get',
        params: query
    })
}
//查询员工名下客户
export function queryEmployeeOfCustomer (query) {
    return request({
        url: '/cp/inheritemployee/contact',
        method: 'get',
        params: query
    })
}
//根据名称查询已激活的具有外部联系人权限的企业成员
export function queryActivationEmployee (query) {
    return request({
        url: '/cp/inheritemployee/name',
        method: 'get',
        params: query
    })
}
//在职继承客户
export function inheritEmployee (query) {
    return request({
        url: '/cp/inheritemployee/inherit',
        method: 'get',
        params: query
    })
}
//查询客户转接状态
export function queryCustomerTransferState (query) {
    return request({
        url: '/cp/inheritemployee/state',
        method: 'get',
        params: query
    })
}